﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="adminadd.aspx.vb" Inherits="webprogram_adminadd" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
      <link href="images/style.css" rel="stylesheet" type="text/css"/>
<link href="images/jquery-ui/jquery-ui.css" rel="stylesheet" type="text/css"/>
    <script language="javascript" src="images/jquery.js" ></script>
    <script src="images/main.js"></script>
    <script>
        function checkNull() {
            if (oid("TextBox_UID").value = "") { alert("管理员账号不能为空！"); return false; }
            if (oid("TextBox_Name").value = "") { alert("管理员名称不能为空！"); return false; }
            if (oid("TextBox_PWD").value = "") { alert("登陆密码不能为空！"); return false; }
            return true;
        }
        
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div id="divMain">
    <div class="title1" id="divpTitle" runat="server">  编辑网站管理人员</div>
    <table width="600" border="0" cellspacing="1" cellpadding="2" align="center"  style="border:#b1e4ef 1px solid;">
  
  <tr>
    <td align="right" bgcolor="#D7E7F2" width="100">管理员账号：</td>
    <td>
        <asp:TextBox ID="TextBox_UID" runat="server" Width="150px"></asp:TextBox>
        <asp:TextBox ID="TextBox_Cid" runat="server" Width="20px" Visible="False"></asp:TextBox>
      </td>
  </tr>
  <tr>
    <td align="right" bgcolor="#D7E7F2">管理员名称：</td>
    <td> 
        <asp:TextBox ID="TextBox_Name" runat="server" Width="150px"></asp:TextBox>
      </td>
  </tr>
 
  <tr>
    <td align="right" bgcolor="#D7E7F2">登陆密码：</td>
    <td>
        <asp:TextBox ID="TextBox_PWD" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
      &nbsp;<span class="red">注：如需修改请填写新密码，为空将不会修改密码</span></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#D7E7F2">管理角色： </td>
    <td> 
        <asp:DropDownList ID="DropDownList_role" runat="server">
            <asp:ListItem Value="1">超级管理员</asp:ListItem>
            <asp:ListItem Value="2">系统管理员</asp:ListItem>
            <asp:ListItem Value="3">网站管理员</asp:ListItem>
        </asp:DropDownList> 
      </td>
  </tr>
  <tr>
    <td align="right" bgcolor="#D7E7F2">锁定状态：</td>
    <td>
        <span class=red>
        <asp:DropDownList ID="DropDownList_Lock" runat="server">
             <asp:ListItem Value="0">否</asp:ListItem>
            <asp:ListItem Value="1">是</asp:ListItem>
           
        </asp:DropDownList>
        </span>
      </td>
  </tr>
<tr>
    <td align="right" bgcolor="#D7E7F2">登陆情况： </td>
    <td>
        上次登陆时间：<asp:Label ID="Label_lsLogintime" runat="server"></asp:Label>
        &nbsp;
        共登陆 <asp:Label ID="Label_Logintimes" runat="server" Text="0"></asp:Label>
        &nbsp;次<br />
        上次登陆IP：<asp:Label ID="Label_lsLoginIP" runat="server"></asp:Label>
    </td>
  </tr>
  
<tr>
    <td align="center" bgcolor="#D7E7F2" colspan="2">
        <asp:Button ID="Button_save" runat="server" AccessKey="S" Text="保存(S)" />
&nbsp;<asp:Button ID="Button_cancel" runat="server" AccessKey="B" Text="返回(B)" CausesValidation="False" UseSubmitBehavior="False" PostBackUrl="admins.aspx" /></td>
  </tr>
  
</table>
    </div>
    </form>
</body>
</html>
